<template>
  <div>
      <!-- HTML5新增的语义化标签 -->
      <pre>
         query参数:{{$route.query.a}}---{{$route.query.b}}
      </pre>
      <pre>
         params参数:{{$route.params.info}}
      </pre>
  </div>
</template>

<script>
export default {
  name: '',
  mounted(){
    console.log(this);
  }
}
</script>

<style scoped lang="less">
   @color:yellowgreen;
   pre{
       color:@color;
       
   }
</style>
